package com.hoshiicloud.market.service.activities;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hoshiicloud.market.entity.activities.ActivitiesGoods;

/**
 * @Author:campchen
 * @Date:Created in 下午 04:40 2019/8/26
 * @PACKAGENAME com.hoshiicloud.market.service.activities
 * @Description
 */
public interface ActivitiesGoodsService extends IService<ActivitiesGoods> {
    ActivitiesGoods getById(Long id);

    String insert(ActivitiesGoods entity);

    boolean updateById(ActivitiesGoods entity);

    IPage<ActivitiesGoods> getPage(IPage<ActivitiesGoods> page, QueryWrapper<ActivitiesGoods> queryWrapper, String key);
}
